<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="./common/taglib.jsp"%>
<c:import url="./common/searchHead.jsp">
	<c:param name="title" value="${model.result.novel.name}最新章节,${model.result.novel.name}最新更新,${model.result.category.name}_小书房"></c:param>
	<c:param name="keywords" value="${model.result.novel.name},最新章节,全本,${model.result.novel.author},${model.result.novel.name}最新更新,${model.result.category.name},小书房"></c:param>
</c:import>
	<div class="crumb-nav wrapper page-width">
		<span class="cur-pos">当前位置：</span><a href="${ctx}/novel/home.html?cid=${model.params.cid}">首页</a><s>&gt;</s><a
			href="${ctx}/novel/list.html?ct=${model.result.category.id}&cid=${model.params.cid}">${model.result.category.name}</a><s>&gt;</s><i><i>${model.result.novel.name}</i>
		</i>
	</div>
	<i>
		<div class="bookwrapper clearfix" style="text-align: left;">


			<div class="content clearfix" style="border-top: 1px solid #D7F0D2;">

				<div class="details clear" id="data_list" style="height: 258px;">

					<div class="book">
						<a class="b poster" href="${ctx}/novel/content.html?chapterId=${model.result.firstChapter.id}&novelId=${model.result.novel.id}&cid=${model.params.cid}"
							title="${model.result.novel.name}" ><img
								src="${imgctx}/icon/${model.result.novel.icon}" alt="${model.result.novel.name}"
								height="150" width="120">
						</a>
						<a
							href="${ctx}/novel/content.html?chapterId=${model.result.firstChapter.id}&novelId=${model.result.novel.id}&cid=${model.params.cid}"
							class="reading" title="${model.result.novel.name}" >开始阅读</a>
					</div>

					<dl>
						<dt>
							<a href="${ctx}/novel/content.html?chapterId=${model.result.firstChapter.id}&novelId=${model.result.novel.id}&cid=${model.params.cid}"
								class="title-link" title="${model.result.novel.name}" >${model.result.novel.name}</a>
						</dt>
						<dd>
							<span class="f">作者：</span>${model.result.novel.author}
							<span>分类：</span><a href="${ctx}/novel/list.html?ct=${model.result.category.id}&cid=${model.params.cid}"
								>${model.result.category.name}</a>
						</dd>
						<dd>
							<span class="f">最新章节：</span><a
								href="${ctx}/novel/content.html?chapterId=${model.result.novel.latestChapterId}&novelId=${model.result.novel.id}&cid=${model.params.cid}"
								>${model.result.novel.latestChapterName}</a>
						</dd>
						<dd>
							<span class="f">内容简介：</span>
							<p>
								${model.result.novel.introduction}
							</p>
						</dd>
					</dl>
					<c:if test="${model.result.novel.status==1}">
						<div class="state-h"></div>
					</c:if>
					<c:if test="${model.result.novel.status==0}">
						<div class="state-l"></div>
					</c:if>
				</div>




				<div id="zchap" class="z-list">
					<div class="title">
						《${model.result.novel.name}》章节目录
						<span class="s1">◆</span><span class="s2">◆</span>
					</div>
					<ul>
						<c:forEach items="${model.result.chapterList}" var="chapter">
							<li class="c">
								<a href="${ctx}/novel/content.html?chapterId=${chapter.id}&novelId=${chapter.novelId}&cid=${model.params.cid}"
								 title="${chapter.name}">${chapter.name}</a>
							</li>
						</c:forEach>
					</ul>
				</div>
			</div>




			<div class="sidebar clearfix">
				
				<ul class="recommends">
					<li class="recommend-type">
						<h2>
							人气榜单
						</h2>
						<ul>
							<c:forEach items="${model.result.hotestChartList}" var="chart" varStatus="status">
							<c:if test="${status.count<=3}">
								<li class="recommend-item">
									<span class="recommend-item-index">${status.count}</span><span
									class="recommend-item-type"> [${chart.categoryName}] </span><a
									href="${ctx}/novel/introduction.html?novelId=${chart.id}&cid=${model.params.cid}" title="${chart.name}"
									 class="ends">${chart.name}</a>
								</li>
							</c:if>
							<c:if test="${status.count>3}">
								<li class="recommend-item">
									<span class="recommend-item-index top3">${status.count}</span><span
									class="recommend-item-type"> [${chart.categoryName}] </span><a
									href="${ctx}/novel/introduction.html?novelId=${chart.id}&cid=${model.params.cid}" title="${chart.name}"
									 class="ends">${chart.name}</a>
								</li>
							</c:if>
						</c:forEach>
						</ul>
					</li>

					<li class="recommend-type">
						<h2>
							按分类找小说
						</h2>
						<p>
							<span>按类型：</span>
							<c:forEach items="${model.result.categoryList}" var="category" varStatus="status">
								<a href="${ctx}/novel/list.html?ct=${category.id}&cid=${model.params.cid}"
								>${category.name}</a> |
							</c:forEach>
						</p>
					</li>
				</ul>

			</div>

			<div class="clear"></div>

		</div>
		<c:import url="./common/foot.jsp">
			<c:param name="title" value="novel"></c:param>
		</c:import>
</body>
</html>